package lab02.Test13;

/**
 * Created by lenovo on 2017/10/20.
 */
public class School extends ComputerAverage {
    @Override
    double average(double s[]) {
        double a=0;
        for (int i=0;i<s.length;i++){

            a=a+s[i];
        }
        a=a/(s.length);
        return a;
    }
}
